<%layout("/common/_layout.html"){ %>

<style>

</style>

<script type="text/javascript">
var keywordsObj = {};
var submit_btn = function(businessType){
	var the_date = "";
    if($("#the_date").val())
        the_date = $("#the_date").val();



	if(businessType == "search"){
		window.location.href = "${base}/dzgDaily/dailyList?the_date="+the_date;
	}else if(businessType == "export"){
		window.location.href = "${base}/dzgDaily/dailyExport?the_date="+the_date;
	}

}

</script>

<%#ajax userTable:{%>
<div class="am-cf am-padding">
	<div class="am-fl am-cf">
		<strong class="am-text-primary am-text-lg">大掌柜日报</strong> / <small>日报列表</small>
	</div>
</div>

<div class="am-g">
	<%include("daily_report_query.tpl"){}%>
	<div class="am-u-sm-12 am-u-md-12"
		style="padding: 0 1.6rem 1.6rem 1rem; margin: 0;">
		<div class="am-btn-toolbar" style="padding-left: .5rem;">
			<div class="am-btn-group am-btn-group-xs">
				<div class="am-btn-group am-btn-group-xs am-form-file">

				</div>
			</div>
		</div>
	</div>
</div>

	<div class="am-g">
		<div class="am-u-sm-12">
			<div class="am-scrollable-horizontal">
				<table class="am-table am-table-striped am-table-hover table-main">
					<thead>
						<tr class="am-text-nowrap">
						    <!--<th class="table-check"><input type="checkbox" id="allCheck"></th>-->

							<th class="table-title">地市</th>
							<th class="table-title">注册渠道数</th>
                            <th class="table-title">当日活跃渠道数</th>
                            <th class="table-title">注册人员数</th>
                            <th class="table-title">当日活跃人员数</th>
                            <th class="table-title">当日4G资费办理量</th>
                            <th class="table-title">当日4G流量办理量</th>
                            <th class="table-title">当日营销活动办理量</th>
                            <th class="table-title">当日宽带预约办理量</th>
                            <th class="table-title">当日宽带开户办理量</th>
                            <th class="table-title">当日开户办理量</th>
                            <th class="table-title">当日实名补登记办理量</th>
                            <th class="table-title">当日精彩业务办理量</th>
                            <th class="table-title">当日充值笔数</th>
                            <th class="table-title">当日充值金额</th>
						</tr>
					</thead>
					<tbody>
						<%for(item in list!){%>
						<tr>
						    <!--<td><input type="checkbox" <%{%>name="ids" value="${item.id}"<%}%> /></td>-->

							<td style="word-wrap:break-word;">${item.city}</td>
                            <td style="word-wrap:break-word;">${item.register_channel_count}</td>
                            <td style="word-wrap:break-word;">${item.active_channel_count}</td>
                            <td style="word-wrap:break-word;">${item.register_member_count}</td>
                            <td style="word-wrap:break-word;">${item.active_member_count}</td>
                            <td style="word-wrap:break-word;">${item.postage_count}</td>
							<td style="word-wrap:break-word;">${item.traffic_count}</td>
							<td style="word-wrap:break-word;">${item.marketing_activities_count}</td>
							<td style="word-wrap:break-word;">${item.service_reservation_count}</td>
							<td style="word-wrap:break-word;">${item.broadband_count}</td>
							<td style="word-wrap:break-word;">${item.open_count}</td>
							<td style="word-wrap:break-word;">${item.register_realname_count}</td>
							<td style="word-wrap:break-word;">${item.good_business_count}</td>
							<td style="word-wrap:break-word;">${item.recharge_count}</td>
							<td style="word-wrap:break-word;">${item.rechargeAmount}</td>
						</tr>
						<%}%>
					</tbody>
				</table>
			</div>


		</div>
	</div>
	<div class="am-modal am-modal-no-btn" tabindex="-1" id="modal">
		<div class="am-modal-dialog">
			<div class="am-modal-hd">
				<i class="am-icon-refresh am-icon-spin"></i> <a
					href="javascript: void(0)" class="am-close am-close-spin"
					data-am-modal-close>&times;</a>
			</div>
			<div class="am-modal-bd">正在处理，请稍等...</div>
		</div>
	</div>
	<%}%> <%}%>